package cn.edu.dlut.ssdut.foodCredit2012.model;

import java.util.Date;


import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;



@Entity
@Table(name = "_permissioncollection")
public class PermissionCollection {
	
	private String name;
	private String permissionID;
	private String content;
	private Date beginDate;
	private Date endDate;
	private String authorizedAgency;
	private String state;
	private String licenceID;
	

	
	public String getAuthorizedAgency() {
		return authorizedAgency;
	}
	public void setAuthorizedAgency(String authorizedAgency) {
		this.authorizedAgency = authorizedAgency;
	}
	@Id
	public String getLicenceID() {
		return licenceID;
	}
	public void setLicenceID(String licenceID) {
		this.licenceID = licenceID;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPermissionID() {
		return permissionID;
	}
	public void setPermissionID(String permissionID) {
		this.permissionID = permissionID;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getBeginDate() {
		return beginDate;
	}
	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	
	
	

}
